package com.macro.mall.dao.ums;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.ums.UmsAdminPermissionRelationDO;
import com.macro.mall.model.ums.UmsAdminPermissionRelationQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UmsAdminPermissionRelationMapper extends BaseMapper<UmsAdminPermissionRelationDO> {
    long countByExample(UmsAdminPermissionRelationQuery example);

    int deleteByExample(UmsAdminPermissionRelationQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(UmsAdminPermissionRelationDO record);

    int insertSelective(UmsAdminPermissionRelationDO record);

    List<UmsAdminPermissionRelationDO> selectByExample(UmsAdminPermissionRelationQuery example);

    UmsAdminPermissionRelationDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UmsAdminPermissionRelationDO record, @Param("example") UmsAdminPermissionRelationQuery example);

    int updateByExample(@Param("record") UmsAdminPermissionRelationDO record, @Param("example") UmsAdminPermissionRelationQuery example);

    int updateByPrimaryKeySelective(UmsAdminPermissionRelationDO record);

    int updateByPrimaryKey(UmsAdminPermissionRelationDO record);
}
